.el-container {
  height: 100%;
}

.el-main {
  padding: 15px;
}

.el-aside {
  width: fit-content;
}

.el-menu {
  border-right: unset;
}

.el-select {
  input {
    width: unset !important;
  }
}

.el-dialog {
  border-radius: 1rem;
}

.el-dialog__body {
  padding-bottom: 0 !important;
}

.el-input__suffix:not(.el-select .el-input__suffix) {
  margin-left: -22px;
}
.el-input__inner:not(.el-select .el-input__inner) {
  padding-right: 22px;
}

.el-card {
  --el-card-border-radius: 1rem !important;
}

.el-tag {
  cursor: pointer;
}

.el-button.is-text {
  padding: 8px 4px;
}

.el-popper {
  word-break: break-all;
}

//全局修改聚焦后的样式
//primary类型按钮
.el-button.el-button--primary:not(.el-button.is-text):focus {
  background-color: var(--el-color-primary) !important;
}

//warning类型按钮
.el-button.el-button--warning:not(.el-button.is-text):focus {
  background-color: var(--el-color-warning) !important;
}

//success类型按钮
.el-button.el-button--success:not(.el-button.is-text):focus {
  background-color: var(--el-color-success) !important;
}
//info类型按钮
.el-button.el-button--info:not(.el-button.is-text):focus {
  background-color: var(--el-color-info) !important;
}
//danger类型按钮
.el-button.el-button--danger:not(.el-button.is-text):focus {
  background-color: var(--el-color-danger) !important;
}

.el-button.el-button--primary.is-text:focus,
.el-button.el-button--warning.is-text:focus,
.el-button.el-button--success.is-text:focus,
.el-button.el-button--info.is-text:focus,
.el-button.el-button--danger.is-text:focus {
  background-color: unset;
}
